texture

fun texture(tex: Identifier): CustomButtonWidget.Builder

Defines the texture for rendering the button background. The sprite rendered will not change based on object state.

Return

this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

tex

Identifier the "normal" texture, rendered under any circumstance